import { defineStore } from 'pinia'
import { ref, computed, reactive } from 'vue'

export const useglobal = defineStore('global', () => {
	// const wssbaseUrl = 'wss://apilive-test.zsszyf.com/';
	// const appid = 'wxeb1bd0bf8da723c7';//服务号的appid
	// const tenantid = '';
	// const videoKey = '';//h5的视频都是分享来的；进入页面会有一个key值要接收后续用于直播间绑定
	// const backUrl = ''//记录要返回的路径
	// const signature = ''
	const liveNo = ''
	const ssoToken = ''		//用户端通用token
	const wxUsr = {}		//微信返回的昵称和头像
	return {
		ssoToken, wxUsr
		// appid,videoKey,backUrl,wssbaseUrl,tenantid,signature
	}
})